.side-bar {
    display: flex;
    flex-direction: column;
    height: 100%;

}

.logo {
    height: 32px;
    line-height: 32px;
    text-align: center;
    margin: 16px;
    font-size: 18px;
    font-weight: bolder;
    letter-spacing: 1px;
    color: white;
    background: rgba(255, 255, 255, 0.3);

    overflow: hidden;
}

.menu-list {
    flex: 1;
    overflow: auto;  /*避免整个页面的滚动,只让它自身进行滚动*/
}

/*
滚动条样式
滚动条主要有下面7个属性：
    ::-webkit-scrollbar 滚动条整体部分，可以设置宽度啥的
    ::-webkit-scrollbar-button 滚动条两端的按钮
    ::-webkit-scrollbar-track  外层轨道
    ::-webkit-scrollbar-track-piece  内层滚动槽
    ::-webkit-scrollbar-thumb 滚动的滑块
    ::-webkit-scrollbar-corner 边角
    ::-webkit-resizer 定义右下角拖动块的样式
*/
.menu-list::-webkit-scrollbar {
    width: 4px;
    /*height: 4px;*/
    /*position: absolute;*/
}
.menu-list::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    background: rgba(0,255,0,0.5);
}
.menu-list::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    border-radius: 0;
    background: rgba(77,92,106,0.8);
}



.trigger {
    padding: 0 24px;
    font-size: 18px;
    line-height: 64px;
    cursor: pointer;
    transition: color 0.3s;
}

.trigger:hover {
    color: #1890ff;
}
